/**
 * Created by liangshan on 2017/11/27.
 */
const Sequelize = enkel.Sequelize
module.exports = {
  safe: true,
  fields: {
    name: { // 脚本名称
      type: Sequelize.STRING,
      allowNull: false
    },
    desc: { // 脚本描述
      type: Sequelize.STRING,
      allowNull: false
    },
    author: { // 作者
      type: Sequelize.STRING,
      defaultValue: ''
    },
    url: { // 脚本地址
      type: Sequelize.STRING,
      defaultValue: ''
    },
    match: { // 配置模式
      type: Sequelize.STRING,
      default: '*'
    }
  }
};
